import VueRouter from 'vue-router'
import Vue from 'vue';
import Preview from '@/pages/edit/views/Preview/index.vue'
import Home from '@/pages/edit/views/Home/index.vue'
const routes = [
    {path: '/', component: Home},
    {path: '/preview', component: Preview},
]

const router = new VueRouter({
    routes,
})
Vue.use(VueRouter)
export default router
